package core

import (
    "github.com/gomodule/redigo/redis"
    "gonaio_base/service"
)

func NewRedis(name string) (c redis.Conn, err error) {
    c, err = bservice.New().GetRedis(name)
    return
}
